package pl.un4giv3n.mightvsmagic.utils;

public class UserStats {
	private long fightsWon;
	private long fightsLost;
	private long draws;
	private double goldWon;
	private double goldLost;
	private double dmgDone;
	private double dmgTaken;

	public long getFightsWon() {
		return fightsWon;
	}

	public void setFightsWon(long fightsWon) {
		this.fightsWon = fightsWon;
	}

	public long getFightsLost() {
		return fightsLost;
	}

	public void setFightsLost(long fightsLost) {
		this.fightsLost = fightsLost;
	}

	public double getGoldWon() {
		return goldWon;
	}

	public void setGoldWon(double goldWon) {
		this.goldWon = goldWon;
	}

	public double getGoldLost() {
		return goldLost;
	}

	public void setGoldLost(double goldLost) {
		this.goldLost = goldLost;
	}

	public double getDmgDone() {
		return dmgDone;
	}
	public String getDmgDoneStr() {
		return FormatterUtil.formatDamage(dmgDone);
	}

	public void setDmgDone(double dmgDone) {
		this.dmgDone = dmgDone;
	}

	public double getDmgTaken() {
		return dmgTaken;
	}
	
	public String getDmgTakenStr() {
		return FormatterUtil.formatDamage(dmgTaken);
	}

	public void setDmgTaken(double dmgTaken) {
		this.dmgTaken = dmgTaken;
	}

	public void addDmgDone(double attackerDamage) {
		dmgDone += attackerDamage;
	}

	public void addDmgTaken(double defenderDamage) {
		dmgTaken += defenderDamage;
	}

	public void addFightsWon(long fightsWon) {
		this.fightsWon += fightsWon;
	}

	public void addFightsLost(long fightsLost) {
		this.fightsLost += fightsLost;
	}

	public long getDraws() {
		return draws;
	}

	public void setDraws(long draws) {
		this.draws = draws;
	}

	public void addDraws(long draws) {
		this.draws +=draws;
	}

	public void addGoldWon(long goldWon) {
		this.goldWon += goldWon;
	}
	public void addGoldLost(long goldLost) {
		this.goldLost += goldLost;
	}
}
